package com.brin.code.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.brin.code.dao.MenuDao;
import com.brin.code.service.MenuService;
import com.brin.core.model.MenuPOJO;

@Service
public class MenuServiceImpl implements MenuService {

	@Override
	public List<MenuPOJO> queryMenuList(MenuPOJO menu) {
		return menuDao.queryMenuList(menu);
	}

	@Autowired
	private MenuDao menuDao;
	public MenuDao getMenuDao() {
		return menuDao;
	}
	public void setMenuDao(MenuDao menuDao) {
		this.menuDao = menuDao;
	}
}
